home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
CGESL.z
/
CGESL
Wrap
Text File
|
1996-03-14
|
2KB
|
67 lines
CCCCGGGGEEEESSSSLLLL((((3333FFFF)))) CCCCGGGGEEEESSSSLLLL((((3333FFFF))))
NNNNAAAAMMMMEEEE
CGESL - CGESL solves the complex system A * X = B or CTRANS(A) * X =
B using the factors computed by CGECO or CGEFA.
SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
SUBROUTINE CGESL(A,LDA,N,IPVT,B,JOB)
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
On Entry
AAAA COMPLEX(LDA, N)
the output from CGECO or CGEFA.
LLLLDDDDAAAA INTEGER
the leading dimension of the array A .
NNNN INTEGER
the order of the matrix A .
IIIIPPPPVVVVTTTT INTEGER(N)
the pivot vector from CGECO or CGEFA.
BBBB COMPLEX(N)
the right hand side vector.
JJJJOOOOBBBB INTEGER
= 0 to solve A*X = B ,
= nonzero to solve CTRANS(A)*X = B where
CTRANS(A) is the conjugate transpose. On Return
BBBB the solution vector X . Error Condition
AAAA division by zero will occur if the input factor contains a zero on the
diagonal. Technically this indicates singularity but it is often caused
by improper arguments or improper setting of LDA . It will not occur if
the subroutines are called correctly and if CGECO has set RCOND .GT. 0.0
or CGEFA has set INFO .EQ. 0 . To compute INVERSE(A) * C where C is
a matrix with P columns
CALL CGECO(A,LDA,N,IPVT,RCOND,Z)
IF (RCOND is too small) GO TO ...
DO 10 J = 1, P
CALL CGESL(A,LDA,N,IPVT,C(1,J),0) 10 CONTINUE LINPACK. This version
dated 08/14/78 . Cleve Moler, University of New Mexico, Argonne National
Lab. Subroutines and Functions BLAS CAXPY,CDOTC Fortran CONJG
PPPPaaaaggggeeee 1111